#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   v1_router.py
@Time    :   2021/04/02 01:10:06
@Author  :   superjin
@Version :   1.0
'''


from api.v1.ws.guac_stream import guacStream 
#from api.v1.aws.account_clean import router as account_clean_router
#from api.v1.aws.account_manage import router as account_manage_router
#from api.v1.aws.account_report import router as account_report_router
#from api.v1.aws.resource_report import router as resource_report_router
#from api.v1.items import router as items_router
from fastapi import APIRouter, Depends
#from common.deps import check_jwt_token

api_v1_router = APIRouter()


api_v1_router.include_router(guacStream, prefix="/api/v1", tags=["guac"])
# api_v1_router.include_router(items_router, tags=["测试API"], dependencies=[Depends(check_jwt_token)])
# check_authority 权限验证内部包含了 token 验证 如果不校验权限可直接 dependencies=[Depends(check_jwt_token)]api_v1_router.include_router(items_router, tags=["测试接口"], dependencies=[Depends(check_jwt_token)])

#api_v1_router.include_router(account_clean_router,prefix="/api/v1/aws",tags=["AWS账户清理"],  dependencies=[Depends(check_jwt_token)])
#api_v1_router.include_router(account_manage_router,prefix="/api/v1/aws",tags=["AWS账户管理"],  dependencies=[Depends(check_jwt_token)])
#api_v1_router.include_router(account_report_router,prefix="/api/v1/aws",tags=["AWS账户报告"],  dependencies=[Depends(check_jwt_token)])
#api_v1_router.include_router(resource_report_router,prefix="/api/v1/aws",tags=["AWS资源报告"],  dependencies=[Depends(check_jwt_token)])
#api_v1_router.include_router(sys_api_router, tags=["服务API管理"],  dependencies=[Depends(check_jwt_token)])
#api_v1_router.include_router(sys_casbin_router, tags=["权限API管理"],  dependencies=[Depends(check_jwt_token)])
#